package top.mataiji.manager.pojo;

import java.io.Serializable;
import java.util.Date;

/**
 * @author zhoubin
 * @since 1.0.0
 */
public class History_price implements Serializable {
    /**
     *
     */
    private Long thId;

    /**
     * 书籍id
     */
    private Integer bookId;

    /**
     * 书籍价格
     */
    private Long bookPrice;

    /**
     * 开始时间
     */
    private Date startDate;

    /**
     * 结束时间
     */
    private Date endDate;

    /**
     * history_price
     */
    private static final long serialVersionUID = 1L;

    public Long getThId() {
        return thId;
    }

    public void setThId(Long thId) {
        this.thId = thId;
    }

    public Integer getBookId() {
        return bookId;
    }

    public void setBookId(Integer bookId) {
        this.bookId = bookId;
    }

    public Long getBookPrice() {
        return bookPrice;
    }

    public void setBookPrice(Long bookPrice) {
        this.bookPrice = bookPrice;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", thId=").append(thId);
        sb.append(", bookId=").append(bookId);
        sb.append(", bookPrice=").append(bookPrice);
        sb.append(", startDate=").append(startDate);
        sb.append(", endDate=").append(endDate);
        sb.append("]");
        return sb.toString();
    }
}
